package com.ruoyi.boat.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 气象数据对象 t_meteor_data
 * 
 * @author ruoyi
 * @date 2023-08-01
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class MeteorData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 船体编号 */
    @Excel(name = "艇编号")
    private String boatCode;

    /** 设备编号 */
//    @Excel(name = "设备编号")
    private String deviceCode;

    /** 风向 */
    @Excel(name = "风向")
    private Double windDirection;

    /** 风速 */
    @Excel(name = "风速")
    private Double windSpeed;

    /** 气温 */
    @Excel(name = "气温")
    private Double temp;

    /** 湿度 */
    @Excel(name = "湿度")
    private Double humidity;

    /** 气压 */
    @Excel(name = "气压")
    private Double pressure;

    /** 水温 */
    @Excel(name = "雨量")
    private Double rain;

    /** 采集时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "采集时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date time;

}
